using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class HoaDonDTO
    {
        #region 1 - Cac thuoc tinh

        private int m_iMaHoaDon;
        private int m_iMaKhachHang;
        private DateTime m_dtNgayLapHoaDon;

        #endregion

        #region 2 - Cac property

        public int MaHoaDon
        {
            get { return m_iMaHoaDon; }
            set { m_iMaHoaDon = value; }
        }

        public int MaKhachHang 
        {
            get { return m_iMaKhachHang; }
            set { m_iMaKhachHang = value; }
        }

        public DateTime NgayLapHoaDon
        {
            get { return m_dtNgayLapHoaDon; }
            set { m_dtNgayLapHoaDon = value; }
        }

        #endregion

        #region 3 - Phuong thuc khoi tao

        public HoaDonDTO()
        {
            this.m_iMaHoaDon = -1;
            this.m_iMaKhachHang = -1;
            this.m_dtNgayLapHoaDon = DateTime.Today;
        }

        #endregion
    }
}
